/* com_class */
.bg1 {
  background-color: #EE88A0;
}
.bg2 {
  background-color: #FFFFFF;
}
.bg3 {
  background-color: #00AA8D;
}
.bg4 {
  background-color: #585555;
}
.bg5 {
  background-color: #E3E3E3;
}
.bg6 {
  background-color: #FAE7E1;
}
.bg7 {
  background-color: #F8D2D4;
}
.bg8 {
  background-color: #E41742;
}
.gray {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
}
.flex-box {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.flex-box .flex-item {
  flex: 1;
}
/* 文本溢出 */
.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ellipsis2,
.ellipsis3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ellipsis3 {
  -webkit-line-clamp: 3;
}
/* scroll */
.nui-scroll {
  overflow: auto;
}
.nui-scroll::-webkit-scrollbar {
  width: 10px;
  height: 8px;
}
/*正常情况下滑块的样式*/
.nui-scroll::-webkit-scrollbar-thumb {
  background-color: #ED7C98;
  border-radius: 10px;
  box-shadow: inset 1px 1px 0 #ED7C98;
  -webkit-box-shadow: inset 1px 1px 0 #ED7C98;
}
/*鼠标悬浮在该类指向的控件上时滑块的样式*/
.nui-scroll:hover::-webkit-scrollbar-thumb {
  background-color: #ED7C98;
  border-radius: 10px;
  box-shadow: inset 1px 1px 0 #ED7C98;
  -webkit-box-shadow: inset 1px 1px 0 #ED7C98;
}
/*鼠标悬浮在滑块上时滑块的样式*/
.nui-scroll::-webkit-scrollbar-thumb:hover {
  background-color: #ED7C98;
  box-shadow: inset 1px 1px 0 #ED7C98;
  -webkit-box-shadow: inset 1px 1px 0 #ED7C98;
}
/*正常时候的主干部分*/
.nui-scroll::-webkit-scrollbar-track {
  border-radius: 10px;
  box-shadow: inset 0 0 6px #F9D2D5;
  -webkit-box-shadow: inset 0 0 6px #F9D2D5;
  background-color: #F9D2D5;
}
/*鼠标悬浮在滚动条上的主干部分*/
.nui-scroll::-webkit-scrollbar-track:hover {
  box-shadow: inset 0 0 6px #F9D2D5;
  -webkit-box-shadow: inset 0 0 6px #F9D2D5;
  background-color: #F9D2D5;
}
body {
  font-family: "comic sans ms", '幼圆';
}
header,
footer {
  width: 100%;
  height: 60px;
  line-height: 60px;
  position: fixed;
  z-index: 100;
  background: #1E9FFF;
}
footer {
  bottom: 0;
}
header .head {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
header .head .title {
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 2px;
}
header .head .setup {
  flex: 1;
  text-align: right;
}
header .head .setup i {
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.4s;
  font-size: 20px;
  margin-right: 10px;
}
header .head .setup i.exit {
  margin-right: 0;
}
header .head .setup i:hover {
  opacity: 1;
}
.main {
  padding: 70px 0 90px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.main .item {
  width: 260px;
  height: 320px;
  /* background: #1E9FFF; */
  margin: 20px 10px 5px;
  border-radius: 6px;
  position: relative;
}
.main .item .item-box,
.main .item .item-box-edit {
  background: #F7F7F7;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  padding: 15px;
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 0;
  transition: 0.4s;
  border-radius: 6px;
  z-index: 10;
}
.main .item .item-box {
  color: #333;
}
.main .item .item-box .app-name-box .app-name {
  font-size: 1.2rem;
  font-weight: bold;
  transition: 0.4s;
  cursor: pointer;
}
.main .item .item-box .app-name-box .app-name:hover {
  color: #01AAED;
}
.main .item .item-box .app-name-box .app-pwd {
  color: #000;
  font-weight: bold;
  cursor: pointer;
}
.main .item .item-box .app-name-box .app-pwd:hover {
  color: #5FB878;
}
.main .item .item-box .app-logo {
  margin-top: 10px;
  height: 140px;
  text-align: center;
  overflow: hidden;
}
.main .item .item-box .app-logo img {
  height: 100%;
  cursor: pointer;
  border-radius: 50%;
  opacity: 0.8;
  transition: 0.4s;
}
.main .item .item-box .app-desc {
  margin-top: 10px;
  height: 40px;
  line-height: 20px;
  color: #777;
}
.main .item .item-box .app-remark {
  margin-top: 5px;
  height: 40px;
  line-height: 20px;
  font-style: italic;
  color: #777;
}
.main .item .item-box .app-uptime {
  margin-top: 5px;
  height: 20px;
  line-height: 20px;
  text-align: right;
  color: #999;
  font-size: 12px;
}
.main .item .item-box:hover {
  /* margin-top: -15px; */
  box-shadow: 0 0 20px #1E9FFF;
}
.main .item .item-box:hover img {
  opacity: 1;
}
.main .item .item-box-edit {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
  background: rgba(0, 0, 0, 0.6);
  display: none;
}
.main .item .item-box-edit i {
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  margin: auto 10px;
  transition: 0.4s;
  opacity: 0.8;
}
.main .item .item-box-edit i.i-edit {
  text-shadow: 0 0 10px #01AAED;
}
.main .item .item-box-edit i.i-edit:hover {
  opacity: 1;
  color: #01AAED;
  text-shadow: 0 0 15px #01AAED;
}
.main .item .item-box-edit i.i-del {
  text-shadow: 0 0 10px #FF5722;
}
.main .item .item-box-edit i.i-del:hover {
  opacity: 1;
  color: #FF5722;
  text-shadow: 0 0 15px #FF5722;
}
/* add.html */
.add_app_box,
.pwd-box,
.pwd-show-box {
  padding: 20px;
  width: 440px;
}
.add_app_box .layui-form-label,
.pwd-box .layui-form-label,
.pwd-show-box .layui-form-label {
  width: 35px;
}
.add_app_box .layui-input-block,
.pwd-box .layui-input-block,
.pwd-show-box .layui-input-block {
  margin-left: 75px;
}
/* pwd.html */
.pwd-box {
  width: 440px;
  min-height: 260px;
}
.pwd-box .pwd-title-box {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1E9FFF;
}
.pwd-box .pwd-title-box .pwd-title {
  font-weight: bold;
  line-height: 30px;
}
.pwd-box .pwd-title-box .pwd-add-box i {
  vertical-align: middle;
}
.pwd-box .pwd-item {
  height: 40px;
  line-height: 40px;
  text-align: center;
}
.pwd-box .pwd-item .seq {
  width: 60px;
}
.pwd-box .pwd-item .name {
  width: 100px;
}
.pwd-box .pwd-item .setup {
  width: 100px;
}
.pwd-box .pwd-item.pwd-item-head {
  font-weight: bold;
  border-bottom: 1px #777 solid;
}
.pwd-box .empty {
  text-align: center;
  margin: 20px auto;
}
.pwd-box .empty img {
  width: 120px;
}
.pwd-show-box {
  width: auto;
  max-width: 440px;
}
.pwd-show-box .show-item {
  padding: 0 10px;
  line-height: 40px;
}
.pwd-show-box .show-item .show_pwd_text {
  cursor: pointer;
}
.pwd-show-box .show-item .key {
  width: 120px;
  color: #777;
}
.pwd-show-box .show-item .val.remark {
  padding: 5px 0;
  line-height: 30px;
}
.pwd-show-box .show-item:nth-child(2n) {
  background: #f5f5f5;
}
@media screen and (max-width: 1200px) {
  .main {
    justify-content: center;
  }
}
@media screen and (max-width: 440px) {
  .add_app_box,
  .pwd-box,
  .pwd-show-box {
    width: auto;
  }
}
